import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入工龄：");
        int workYears = scanner.nextInt();
        System.out.println("请输入基本工资：");
        int salary = scanner.nextInt();
        int increaseSalary = 0;
        if(workYears<1&&workYears>=0){
            increaseSalary = 200;
        }
        else if(workYears<3&&workYears>=1) {
            increaseSalary = 500;
        }
        else if(workYears<5&&workYears>=3) {
            increaseSalary = 1000;
        }
        else if(workYears<10&&workYears>=5) {
            increaseSalary = 2500;
        }
        else if(workYears<15&&workYears>=10) {
            increaseSalary = 5000;
        }
        else{
            System.out.println("输入不符合要求");
        }
        System.out.println("您目前工作了"+workYears+"年，基本工资为 "+salary+"元, 应涨工资"+"元,涨后工资"+(salary+200)+"元");
    }
}
